From 5daacba8059a5f77d126b900abda24048229b8a5 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 28 Mar 2005 21:45:46 +0000 Subject: [PATCH] bitkeeper revision 1.1159.258.74 (42487b0a9j3H5ye852jyPD3Lg6GPaw) Add a tags target to the Xen Makefile. Signed-off-by: Rik van Riel Signed-off-by: Keir Fraser --- BitKeeper/etc/ignore | 2 ++ xen/Makefile | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/BitKeeper/etc/ignore b/BitKeeper/etc/ignore index 0b96e34b39..f772e7094f 100644 --- a/BitKeeper/etc/ignore +++ b/BitKeeper/etc/ignore @@ -70,6 +70,8 @@ tools/vnetd/vnetd tools/web-shutdown.tap tools/xentrace/xentrace tools/xfrd/xfrd +xen/tags +xen/TAGS xen/arch/x86/asm-offsets.s xen/arch/x86/boot/mkelf32 xen/drivers/pci/classlist.h diff --git a/xen/Makefile b/xen/Makefile index 0455b26807..b36ed9a43e 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -103,7 +103,7 @@ include/asm-$(TARGET_ARCH)/asm-offsets.h: arch/$(TARGET_ARCH)/asm-offsets.s echo ""; \ echo "#endif") <$< >$@ -.PHONY: default debug install dist clean delete-unfresh-files TAGS +.PHONY: default debug install dist clean delete-unfresh-files TAGS tags SUBDIRS = arch/$(TARGET_ARCH) common drivers TAGS: @@ -111,5 +111,10 @@ TAGS: find include -type d \( -name "asm-*" -o -name config \) -prune -o \ -name '*.h' -print; \ find $(SUBDIRS) -name '*.[ch]' ) | grep -v /SCCS/ | etags - +tags: + ( find include/asm-$(TARGET_ARCH) -name '*.h'; \ + find include -type d \( -name "asm-*" -o -name config \) -prune -o \ + -name '*.h' -print; \ + find $(SUBDIRS) -name '*.[chS]' ) | grep -v /SCCS/ | xargs ctags MAP: nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map -- 2.30.2